GitHub |
您所在的位置:网站首页 › demo test › GitHub |
openai-api-test-demo
如何调用 openai api 开发自己的 ChatGPT ?openai api 入门教程(Python篇),让你从入门到额度(钱包)被榨干,5美元不够你一天玩。 一、使用要求1、安装好python 2、把自己的 api key 放到 win10 的环境变量中,减少 api key 泄密的风险。设置好 openai api key 后,再启动开发工具(Pycharm、vscode等),要不然可能会检测不在 OPENAI_API_KEY。详细设置教程找搜索引擎。 3、安装对应的Python openai 库依赖: pip install openai 二、更多参考官网openai 开发概述(首页):https://platform.openai.com/ openai 文档:https://platform.openai.com/docs/introduction openai api:https://platform.openai.com/docs/api-reference openai 示例:https://platform.openai.com/examples openai 的游乐园:https://platform.openai.com/playground |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |